package com.hzw.saas.web.app.group.param;

import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 资源分享参数
 *
 * @author zzl
 * @since 12/30/2020
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "群组资源分享")
public class GroupShareParam implements Serializable {

    private static final long serialVersionUID = 3863570810803853236L;

    @NotEmpty(message = "资源ID列表不可为空")
    @ApiModelProperty(value = "资源ID列表", required = true)
    private List<String> fileIds;

    @NotEmpty(message = "群组ID列表不可为空")
    @ApiModelProperty(value = "群组ID列表", required = true)
    private List<String> groupIds;
}

